
using CStock;
using System;
using System.Diagnostics;

using NUnit.Framework;
namespace TestCases.StockData
{
	

	/// <summary>Some simple Tests.</summary>
	/// 
	[TestFixture]
    public class Reset 
    {
        protected IProgramContext programContext;

        public Reset()
        {
            ProgramFactory pf = new ProgramFactory();

            this.programContext = pf.StockObjectBase as ProgramContext;
            
        }
        [Test]
		public void Remove_Portfolios()
		{
            PortfolioFactory pf = new PortfolioFactory();
            Assert.IsTrue(pf.RemoveAll());
         
			
        }


        [Test]
        public void Remove_Traders()
        {
            TraderFactory pf = new TraderFactory();
            Assert.IsTrue(pf.RemoveAll());


        }

        [Test]
        public void Remove_TradeEconomy()
        {
            TradeEconomyFactory pf = new TradeEconomyFactory();
            Assert.IsTrue(pf.RemoveAll());


        }
        [Test]
        public void Remove_DataClasses()
        {
            DataClassFactory pf = new DataClassFactory();
            Assert.IsTrue(pf.RemoveAll());


        }
        [Test]
        public void Remove_DataItems()
        {
            DataItemFactory pf = new DataItemFactory();
            Assert.IsTrue(pf.RemoveAll());


        }
        [Test]
        public void Remove_TradeSystems()
        {
            TradeSystemFactory pf = new TradeSystemFactory();
            Assert.IsTrue(pf.RemoveAll());


        }
        [Test]
        public void Remove_TradeSystem()
        {
            TradeSystemFactory pf = new TradeSystemFactory();
            Assert.IsTrue(pf.RemoveAll());


        }

      
	
	}

	
}